#ifndef VERTEX_H
#define VERTEX_H

#include <QPoint>

class Vertex  
{
	public:
		Vertex();
		Vertex( double x, double y, double z );
		
		void setX( double x );
		void setY( double y );
		void setZ( double z );
	
		double getX( );
		double getY( );
		double getZ( );
	
		double operator[] (int i) const{ return (&x)[i]; }
	
		int name;
	public:
		double x;
		double y;
		double z;
};
#endif
